package com.itheima.d4_enum;

public enum Season {
    SPRING("万物复苏"),SUMMER("花开盛夏"),AUTUMN("硕果累累"),WINTER("白雪皑皑");
    private  String desc;

    public void showInfo(){
        System.out.println("我喜欢" + desc);
    }

    Season(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
